/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cageballcommon.messages;

import cageballcommon.enummerations.TeamEnum;
import java.util.List;

/**
 *
 * @author kanonas
 */
public class Info {

    private TeamEnum goal;
    private TeamEnum scorerTeam;
    private TeamEnum winner;
    private Integer scorer;
    private String message;
    private List<ScoreBoard> scoreBoard;

    public Info() {
    }

    public Info(Info info) {

        if (info != null) {
            this.goal = info.getGoal();
            this.scorerTeam = info.getScorerTeam();
            this.scorer = info.getScorer();
            this.winner = info.getWinner();
            this.message = info.getMessage();
            this.scoreBoard = info.getScoreBoard();
        }
    }

    public TeamEnum getGoal() {
        return goal;
    }

    public void setGoal(TeamEnum goal) {
        this.goal = goal;
    }

    public Integer getScorer() {
        return scorer;
    }

    public void setScorer(Integer scorer) {
        this.scorer = scorer;
    }

    public TeamEnum getScorerTeam() {
        return scorerTeam;
    }

    public void setScorerTeam(TeamEnum scorerTeam) {
        this.scorerTeam = scorerTeam;
    }

    public TeamEnum getWinner() {
        return winner;
    }

    public void setWinner(TeamEnum winner) {
        this.winner = winner;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<ScoreBoard> getScoreBoard() {
        return scoreBoard;
    }

    public void setScoreBoard(List<ScoreBoard> scoreBoard) {
        this.scoreBoard = scoreBoard;
    }
}
